package top.csjss.hospital.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author ztf
 * @Date 21:35 2021/10/15
 **/
public class SideVO {

    private Integer id;

    private String title;

    private String href;

    private Integer parentId;

    private String icon;

    private Boolean spread = false;

    private List<SideVO> children = new ArrayList<>();

    public SideVO() {
    }

    public SideVO(Integer id, String title, String href, Integer parentId, String icon, Boolean spread, List<SideVO> children) {
        this.id = id;
        this.title = title;
        this.href = href;
        this.parentId = parentId;
        this.icon = icon;
        this.spread = spread;
        this.children = children;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Boolean getSpread() {
        return spread;
    }

    public void setSpread(Boolean spread) {
        this.spread = spread;
    }

    public List<SideVO> getChildren() {
        return children;
    }

    public void setChildren(List<SideVO> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "SideVO{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", href='" + href + '\'' +
                ", parentId=" + parentId +
                ", icon='" + icon + '\'' +
                ", spread=" + spread +
                ", children=" + children +
                '}';
    }
}
